POV-Ray : Newsgroups : povray.advanced-users : Use Slope pattern for Planting distribution? : Re: Use Slope pattern for Planting distribution? Server Time
6 Oct 2024 15:24:32 EDT (-0400)
  Re: Use Slope pattern for Planting distribution?  
From: Warp
Date: 13 Dec 2006 04:34:29
Message: <457fc925@news.povray.org>
Thomas de Groot <t.d### [at] internldotnet> wrote:
>     #if (Norm.x != 0 | Norm.y != 0 | Norm.z != 0)

  Btw, another way of testing that is:

  #if(vlength(Norm) > 0)

>       #if ((vdot(Norm, y)>0.5) & (Pos.y < 5.5))

  Does trace() always return a normalized vector?

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.